﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Aps
{
    [Table("APS_Order")]
    public partial class APS_Order
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key, Column(Order = 1)]
        public string Id { get; set; }
        public string MFGOrganizeID { get; set; }
        public string OrderNo { get; set; }
        public DateTime? OrderDate { get; set; }
        public decimal? Qty { get; set; }
        public decimal? Price { get; set; }
        public string Currency { get; set; }
        public decimal? ExchangeRate { get; set; }
        public string SaleTo { get; set; }
        public DateTime? DeliveryDate { get; set; }
        public string SalesMan { get; set; }
        public string MaterialID { get; set; }
        public string OwnOrganizeID { get; set; }
        public int? SystemID { get; set; }
        public string CustomerID { get; set; }
        public decimal? ProducedQty { get; set; }
        public int? ProductionStatus { get; set; }
        public DateTime? CompletionDate { get; set; }
        public decimal? StockOutQty { get; set; }
        public string Extend1 { get; set; }
        public string Extend2 { get; set; }
        public string Extend3 { get; set; }
        public string Extend4 { get; set; }
        public string Extend5 { get; set; }
        public string Extend6 { get; set; }
        public string Extend7 { get; set; }
        public string Extend8 { get; set; }
        public string Extend9 { get; set; }
        public string Extend10 { get; set; }
        public string Extend11 { get; set; }
        public string Extend12 { get; set; }
        public string Extend13 { get; set; }
        public string Extend14 { get; set; }
        public string Extend15 { get; set; }
        public string Extend16 { get; set; }
        public string Extend17 { get; set; }
        public string Extend18 { get; set; }
        public string Extend19 { get; set; }
        public string Extend20 { get; set; }
        public string Extend21 { get; set; }
        public string CreatedBy { get; set; }
        public string CreatedByName { get; set; }
        public string ModifiedBy { get; set; }
        public string ModifiedByName { get; set; }
        public DateTime? CreatedOn { get; set; }
        public DateTime? ModifyedOn { get; set; }
        public string WorkFlowInstanceID { get; set; }
        public int? Status { get; set; }
        public string Remark1 { get; set; }
        public string Remark2 { get; set; }
        public string Describe1 { get; set; }
        public string SourceOrderNo { get; set; }
        public DateTime? ERPStartDate { get; set; }
        public DateTime? ERPEndDate { get; set; }
        public string WorkOrderTypeID { get; set; }
        public decimal? WGT { get; set; }
        public string PickingStatus { get; set; }
        public string ParentId { get; set; }
        public decimal? CompletionQty { get; set; }
    }
}
